package bean;

import java.util.Calendar;

/**
 * Bean representing an employee
 * @author Martin Schophaus
 *
 */
public class Employee extends Person {
	private int employee_nr;
	private int department;
	private int payment_level;
	
	public Employee(String name, String fname, Adress adress, int payment_level){
		super(name, fname, adress);
		this.setPayment_level(payment_level);
	}
	
	public Employee(
			String name,
			String fname,
			Adress adress,
			Calendar birthday,
			int employee_nr,
			int department,
			int payment_level){
		super(name, fname, adress, birthday);
		this.setEmployee_nr(employee_nr);
		this.setDepartment(department);
		this.setPayment_level(payment_level);
	}
	
	public int getEmployee_nr() {
		return employee_nr;
	}
	public void setEmployee_nr(int employee_nr) {
		this.employee_nr = employee_nr;
	}
	public int getDepartment() {
		return department;
	}
	public void setDepartment(int department) {
		this.department = department;
	}
	public int getPayment_level() {
		return payment_level;
	}
	public void setPayment_level(int payment_level) {
		this.payment_level = payment_level;
	}
	
}
